import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import word from './utils/index.js'
import { msg, arr, count } from './utils/demo';
import text from './utils/test';
// 全局样式
import "@/assets/styles/index.scss";
// 全局组件
import Demo from '@/components/Demo.vue';
import { bus } from '@/utils/bus'
Vue.prototype.$bus = bus    // 挂载到Vue原型对象上 this.$bus
Vue.component('Demo', Demo)
Vue.config.productionTip = false

console.log(word);
console.log(msg, arr, count);
console.log(text);
new Vue({ // 挂载到根实例
    router,
    store,
    render: h => h(App)
}).$mount('#app')

// function render(h) {
//     return h(App)
// }